how to remove white spaces from a string in java